#include "globalPara.h"
qint32 gCalendarX = 0;
qint32 gCalendarY = 0;
qint32 gCalendarWidth = 0;
qint32 gCalendarHeight= 0;
qint32 gNoteTaskWidth = 0;
//enum NoteType{
//    NOTE,
//    TASK
//};
QTextCodec * codec_zh_CN = QTextCodec::codecForName("GBK");

//bool enumUserWindowsCB(HWND hwnd, LPARAM lParam)
//{
//    long wflags = GetWindowLong(hwnd,GWL_STYLE);
//    if(!(wflags&WS_VISIBLE))
//        return true;
//    HWND sndWnd;
//    if(!(sndWnd=FindWindowEx(hwnd,NULL,L"SHELLDLL_DefView",NULL)))
//        return true;
//    HWND targetWnd;
//    if(!(targetWnd=FindWindowEx(sndWnd,NULL,L"SysListView32",L"FolderView")))
//        return true;

//    HWND * resultHwnd = (HWND*)lParam;
//    *resultHwnd = targetWnd;

//    return false;
//}

//HWND findDesktopIconWnd()
//{
//    HWND resultHwnd = NULL;
//    EnumWindows((WNDENUMPROC)enumUserWindowsCB,(LPARAM)&resultHwnd);
//    return resultHwnd;
//}
